Include computing the distance matrix (not used)