Make a generic grid layouter and use it in SequentialLFE and GridLFE
Initial implementation of a dynamic grid form element layout

Still a bit slow, perhaps it should be made to work with sparse
matrix representation.