Updated nonlinear param check to allow for linear as special case.