Refactor cnTerms->addterm()

Closes gh-280