Added numPeaks to findPeaks

Now using a 64-bit buffer