energy uncertaintes in peaklocate

Added energy uncertainties in peaklocate function.