Added file and function header comments in calc.c