A more general formulation of table optimization.

Paving the way for reimplementing subplots. The 'focused' cell can now be a
focused region. Cells in this region a proportionality constraint.