Continuous-time Markov processes as a stochastic model for sedimentation