experience and innovation

---------------------------------------------------------------------------
   Convert from the ECI frame to the NED frame.
---------------------------------------------------------------------------
   Form:
   b = ECIToNED( r, opt, f )
---------------------------------------------------------------------------

   ------
   Inputs
   ------
   r           (3,1) Position vector
   opt         (1,:) 'matrix' or 'quaternion'
                       (default is matrix)
   f           (1,1) Flattening factor (optional)

   -------
   Outputs
   -------
   b           (3,3) Transformation matrix
               (4,1) Quaternion

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