Update M2Grid.m