Add DistanceMatrix.permute method

2D permutation code was previously in mantel but makes sense to have in DistanceMatrix.