Added calculation of "right time" trains for station ranking