Added rotations. Closes #1.