Add a function that plot the residuals between the data and the prediction