plot_residuals function

Residuals plot