Corrected missing ')' in calc function.