residuals.maxlogL function

Extract Residuals from maxlogL model.