added functions to Calc.m