Fixed some bugs in sorted distance comparator.  Added a couple of atomic species.