getTableState function

Extracts table.state from a nosoiSim object