Changed test of symmetry of distance matrix