Edited countPeaks

Changed clk to sck, commented out numPeaks <= 0