Tidy up the turbine parametrisation functional code
Add a user defined callback which is called after each
timestep in the shallow water equations. It accepts the
state as a parameter and can be used to perform diagnostics
on the forward solutions.