Full restructuring of the hydrodynamics code

The code currently under development for the modelling of hydrodynamic effects is being rewritten. It has suffered from the results of concurrent coding and development, and therefore needs a bit of restructuring before producing results for publication.