Update MathTerm.java