use explicit imports
clean up math module a bit
clean up some more tests
latexarray.to_pdf was overwriting the decimals argument
make pylint happier