getCellIndices.UnitModel function

Gets the cell indices unit by unit