Pushing slight modifications to the code for testing teh annealing.