Added grayPeaks function, just a modification of huePeaks