Simple travel time calculation routine using 1D velocity model and based on HASH