Change norm_resid to resid_pearson. Also added docs to model