Cleaned up Simulated Annealing