Train travel time calculation