Class to measure distances between coords.