Merge pull request #1 from immortius/master

Some cleanup and unit tests
Merge pull request #2 from immortius/master

Cleanup and unit tests.
Added README
Add gradle and IntelliJIDEA stuff
Add Apache License files
Merge pull request #7 from mkalb/gradleStuff

Gradle stuff and license files
Initial experimentation with StringTemplate.
Merge branch 'master' of git@github.com:MovingBlocks/TeraMath.git
First clean generated class.