Time-Varying Flexible Least Squares for Thermal Desorption of Gases