The total sum of the elements of the distance matrix