fixed some rotation things
added rotation debugging stuff