Update calc.cpp

I have added 1 more function...