Matrix layouter.