simplified polynomial copying
simplifying addDiffTerms
removed unused code