Density Functional Studies of the Stability of Clusters