OPTIMIZATION OF GEAR REDUCTION UNIT THROUGH RAY