Minor improvement to the forward modelling code in the notebook.