changed QuadTree and Geometric calculator to use Coordinate class