Update calc.cpp

I updated the file here...