The Roxygen style for exporting s3 functions had changed
Changed the name for addNonlinearity2Model to addNonlinearity for simplicity