Add a WeightedCoordinate class for future use