Add MathFunctions Class for multiple math functions