CalcEngine to parse and evaluate string-based mathematical formulas