Convert CalcOperations from interface to class; add isMathOperation method