redist function

Find a Matrix of Distances Between Positions Based on Regular Equivalence