Bugfix

Bugs related to Rotate Function were fixed.