Some cleaning up of the tidal simulation example