Finally got the rotation working right.