The Quantum Theory of Atoms in Molecules: From Solid State t