Write matrix N x N of all distances between monomers from pairewise comparisons. Write matrix N x N of all distances between monomers from pairewise comparisons