Fast computationof arrivaltimes in heterogeneousmedia