fixed the rotate() func for angles which are multiple of 90
Merge pull request #1 from SergeMv/rotate

fixed the rotate() func for angles which are multiple of 90