Crated a class for basic math functions.

A class for simple math.