Implementation and analysis of a stochastic delivery model for mass transit vehicles