A hydrodynamic particle tracking algorithm for simulating settling of sediment