VaneAngles:

% Compute angle commands for roll control using sail vanes.
 Uses a simple sine relation.

--------------------------------------------------------------------------
   Form:
   theta = VaneAngle( areaVane, momentArm, Tcommand, solarFlux )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   areaVane        (n,1)        Area of each vane
   momentArm   (1,1) or (n,1)   Moment arm of each vane on sail
   Tcommand        (1,1)        Roll torque
   solarFlux       (1,1)        Solar flux, optional. Default is 1 AU.

   -------
   Outputs
   -------
   theta           (n,1)        Vane angles

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