Adding peak finding algorithms