Debugging Level

Debugged errors with rotation with the different levels.