Update Calculator.class.php