Mathematical Modelling of 3D Coastal Morphology