First-principles simulation: ideas, illustrations and the CASTEP code | Synapse