A matrix of distances.