HelicalGear:

--------------------------------------------------------------------------
   Maximum allowable torque and safe horsepower capacity for helical gear.
   Uses 45 degree helix angle parallel shaft helical gears based on the 
   gear tooth form factor.
--------------------------------------------------------------------------
   Form:
   [ Load, Torque, Power, Thrust ] = HelicalGear( d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   d          (1,1)  Data structure
                     .dia        (1,1)  Pitch Diameter (in)
                     .s          (1,1)  Maximum Safe Material Stress (PSI)
                     .f          (1,1)  Face Width (in)
                     .y          (1,1)  Tooth Form Factor
                     .pn         (1,1)  Normal Diametral Pitch (teeth/in)
                     .v          (1,1)  Pitch Line Velocity (ft/min)
                     .rpm        (1,1)  Rotations Per Minute

   -------
   Outputs
   -------
   Load       (1,1)  Tooth Load (lbf)
   Torque     (1,1)  Maximum Allowable Torque (lbs*in)
   Power      (1,1)  Power Capacity (Horsepower)
   Thrust     (1,1)  Axial Thrust Load (lbf)

--------------------------------------------------------------------------
   Reference: Lewis Formula, Barth Revision

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