Adds simple peak finding function, getNumPeaks()

Feel free to play around with the parameters in getNumPeaks()--these were the parameters that seemed to work best from the testing I did. It's a tricky balance between false positives and false negatives.