Converted the original naive spearman correlation to a mantel test like correlation. the mantel test is performed on the row rank matrix of the original distances. Note that the results is not normalized.