Removed unnecessary imports. Added cleared comments to the correct rotaton method and removed unnecessary debug statements