Added in code to detect peaks in the histogram and give the values to
the user