protected class Table.TableIterator
Iterates through all elements of the matrix. The range (from-to) can be defined, default is [hd+1 .. hr] (incl hr).
Matrix compactions and resizings will lead to undefined results, as this iterator doesn't maintain a separate ref
of the matrix, so it is best to run this with the lock held. This iterator is also used by Table.stream()