Iterative method to improve calculation of the pre-exponential factor for dynamic thermogravimetric analysis measurements