The Math class

The main class that calculates the input from the main page (index.php)