Update PeakDetectorAgent

- update options
- change it so that it detects peaks on the rise instead of fall.