added partial residual plots and made improvements