Applications of Whole-Powder-Pattern Fitting Technique in Materials Characterization