Math Utilities

See examples/maths.py.