Fixed casting in rotation

Opps, seems I missed a set of parentheses. Now all negative angles won't
be set to 179 for MULT and TRES.