Atomic and Electronic Structure of Solids