Added bus arrival prediction functions