Fixed problems when adding terms with the same degree but opposite sign coef
Added comments