removed nparams from chisq