Add distance and time interval columns to locations table