Tweaked temperature equation