Factors Affecting X Ray Diffraction Intensity