Removing all numpy calls not on arrays and fixing acceptance rate to use
Boltzmann distribution.