User/jake vav/temperature

Fixed the temperature logic.  Changed the .cpp