Improved performance by rewriting transformations and a bit of compiling
Merge pull request #8 from Winchestro/master

Improved performance by rewriting transformations and a bit of compiling