LFState:

--------------------------------------------------------------------------
   Computes the position and velocity of a satellite in the Hills frame for a
   leader/follower formation given the distance from the center (d), the number
   of spacecraft (nSC), and the order in the line.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   state = LFState( d, nSC, order )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   d                 (1)     distance from reference point (km)
   nSC               (1)     number of spacecraft
   order             (1)     order in the line

   -------
   Outputs
   -------
   state            (6,1)    final state for the spacecraft in Hill's frame

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