added logic to calculate distance from user, or from previous location, when adding locations to timeslots