Update PolyGrid.m

Now splits segments in the x-direction. Y-direction coming soon.