Whole Powder Pattern Fitting Methods in Materials Science