Much better pulse detection. Now just need to fill in missed pulses.