Remove broken unused get_dist_matrix method