added a peak detection tool
 peaks are not stable