Incorporating PID control for temperature regulation. Source: http://playground.arduino.cc/Code/PIDLibrary