getTableHosts function

Extracts table.hosts from a nosoiSim object