Fixed some bugs and mistakes. TODO: Not working signed temperature...