updated to minimize false events. now also works for MAARBLE's c_ulf_process.m routine. now allows multuple peaks at the same time.
includes wave-finding code using irf/irf_wave_detection_algorithm.m
fixed errors that appeared from previous merge