Provides mathematical functionality.

@author moeller