Added reset function for grid_t, untested. Working.