CRAAG2: Fixing temperature functions.