Negative temperatures calculated wrong