Fixes Issue #2.
Merge pull request #3 from TeehanLax/rotation-fix

Fixes Issue #2.