Calculating Distance and Time Relationships