AMS advances in the geosciences and heavy-element analysis