Added some variables such as set point, temperature difference, and
coefficient to simulate a P-controller.