removed unnecessary addTerms code from polynomials.lp