QSunPointing:

Path: SC/Ephem

% Creates a sun reference frame with +x pointing at the sun.
   +y is as close to +z as possible and +z completes the set.
--------------------------------------------------------------------------
   Form:
   q = QSunPointing( uSun )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   uSun 		  (3,:)   Sun unit vector

   -------
   Outputs
   -------
   q			  (4,:)   Quaternion

--------------------------------------------------------------------------