deviances updated
added logLik method for nrm and nelm