Fitting torque and temp curves simultaneously