Improve performance --> Replace temperature.py with temperature.c