finding time2arrival for each prediction