Important corrections

The algorithm was totammy wrong, the currentBin and currentEnergy were
not changed in the Monte-Carlo loop