Update Calc.cpp

updated using a new branch