Debugging Rotation Error throughout several classes