Real-time arrival prediction system