Removed old lines of code from temperature.cpp.