Fixed basic math evaluator

Fixed eval_math which previously applied all operators regardless of
which it was called with