Fixed Bug With Rotate Order Interpretation

Rotation orders will now be interpreted properly. Also, the rotation
system should work correctly, as it seemed to be quite flawed before I
fixed it.