A Smoothed Particle Hydrodynamics model of sediment