Documented and added assertation error checking to all of the simulated annealing related code. Also removed a method that was used to test the histograms