Corrected some glitches with annealing process. Added debug graph of its progress. Still doesn't seem to optimise well unless the energy function is simplified massively.