Changed equality overload of Term to evaluate true if the exponents are the same.