Got extension of table working. All that remains: documentation (and tidying up), float calculations, and size of table calculation.