Fixed a bug when the simulation is running where the bool array is shared between  multiple instances of the SimulatedAnnealing class.