iniTableState function

Generates initial movement table to start the simulation (internal function)