Added a rising edge detector with a filter that preprocesses the input signal