added tests for rotation errors
optimized monk rotation