Made changes to fit with thermotemp; and fixed normalization bug

The data was not being normalized, which was breaking the fitting.