Simulation methods in atomic scale materials physics