Add energy bin boundary calculation, 2nd draft