Micro optimizations
Cache .cursor and transforms in one function
Caching of elements
Removed my debug
Merge pull request #1 from jbrooksuk/master

Micro optimizations