RotBeamBending:

--------------------------------------------------------------------------
   Calculates maximum bending stress on a rotating beam.
   Beam is cylindrical and suported at its ends.
   Axis of rotation is parallel to the beam.
--------------------------------------------------------------------------
   Form:
   [bS, FOS] = RotBeamBending( d , r , omega)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   d          (1,1)  Data structure
                     .m          (1,1)  Mass (kg)
                     .OD         (1,1)  Outer Diameter (m)
                     .ID         (1,1)  Inner Diameter (m)
                     .L          (1,1)  Length (m)
                     .yS         (1,1)  Yield Stress (Pa)
   r          (1,1)  Distance from axis of rotation (m)
   omega      (1,1)  Angular speed (rad/s)

   -------
   Outputs
   -------
   bS         (1,1)  Bending Stress (Pa)
   FoS        (1,1)  Factor of Safety

--------------------------------------------------------------------------
   Reference: 

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