How to calculate a price based on the distance between two addresses?