Frenet2Hills:

--------------------------------------------------------------------------
   Rotate the Frenet frame state to the Hills frame, where x is radial

   Since version 7.
--------------------------------------------------------------------------
   Usage:
   xH = Frenet2Hills( xF, e, nu );

   Note: The number of columns of "nu" and "xF" must be equal if they both
           have more than ONE column.
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   xF            (M,:)  Relative state in Frenet frame [km] (M = 3 or 6)
   e             (1,1)  Eccentricity
   nu            (1,:)  True anomaly [rad]
   n             (1,1)  Orbit rate [rad/s]. Optional. 
                          Uses time-derivatives if provided.
                          Uses nu-derivatives is NOT provided.

   -------
   Outputs
   -------
   xH            (M,N)   Hills frme state 
                            N = number of columns of nu or xF, whichever
                                is greater
   
--------------------------------------------------------------------------

Children:

Common: Transform/RotMat
FormationFlying: Utility/NuDot
Math: Linear/Cross