A simple math library.