Applications of fitting techniques to the Warren-Averbach method for X-ray line broadening analysis