When the Grid class adds a grid, it now calculates the coordinates of the center of the cells in each coordinate system.