Update calc.cpp

using branch tejashree