Permutation-invariant distance between atomic configurations.

Permutation-invariant distance between atomic configurations.