Simulated annealing cooling bug fix.