verify distance matrix symmetry