Fix issue #9 - Replace yDim by xDim in gr_get_cell
Uncomment and fix segfault in gr_destroy_grid