Diffusion in materials