Invia SMS: Fundamentals of Powder Diffraction and Structural Characterization