what exactly do you want the grid to do? do you need to ‘lock’ the raised points xyz-coordinates and rotate (as in: transform) the surrounding points?
or do you want to use the column/row-swap as a way to choose a particular gridpoint - for example: first dial the x-position, then swap (position remains), then dial the y-position (with the same slider)?