Replace random rotation caching with hash function to stop major memory leak.
Merge pull request #72 from jaquadro/master

Replace random rotation caching with hash function to stop memory leak.