Added Coordinate class to do all conversion between point types