Update calc.cpp

updated in mybranch repository