Document the math helpers.
Put the grid under everything else, and make it work...
Python 3 support, more accuracy, test output files.

Added Python 3 support.  This includes less rounding to integers.
Now the correct test output is stored in files instead of in large
strings in the tests.