Update rotate.c

Comments.
Merge pull request #36 from Mateos81/patch-4

Update rotate.c