FLambdaToConeClock:

--------------------------------------------------------------------------
   Generates the optimal cone and clock angles for 3D problems.
   Designed to be called by fzero.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   f = FLambdaToConeClock( alpha, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   alpha      (1,1)  Cone angle (rad)
   d          (1,1)  Data structure
                     .s     (1,1) Dot product of sun vector and (gm)'
                     .y     (1,1) Dot product of y vector and (gm)'
                     .z     (1,1) Dot product of z vector and (gm)'
                     .rhoS  (1,1) Specular reflection coefficent
                     .rhoR  (1,1) Thermal and diffuse coefficient
                     .rhoAD (1,1) Sum of diffuse and absorption coefficient

   -------
   Outputs
   -------
   f          (1,1)   Value of the rhs

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