Add minimum distance to TableIterator
Use 0 maxDistance for TableIterator unit tests where maxDistance is not tested
Add unit test for minDistance for TableIterator