Update AbstractCalculator.php