Add predict function to NW code.
Add standard error plot for linear model.