add coordinates to cartesian_grid class