SMS dit: Density-functional theory of atoms and molecules