flag system for rotation
making progress on reflections
Fixed rotation glitches
cleaned up debug code
edited doc