Applications of X-ray Diffraction Methods to Quantitative Chemical Analysis