Math formula evaluator library