Added zero rad check in rotate function
Merge pull request #5 from Mapiarz/master

Added zero rad check in rotate function