Example of using the BTL : Calculating the Centroid of a Set of Atoms