Principles of the Solid State