A class to simplify dealing with coordinates and distance.