Title: Theory and applications of powder diffraction