Merge pull request #26 from adamrights/master

Fix to for loop Math cache
Merge remote-tracking branch 'origin/master'

* origin/master: