Added two different ways of specifying the number of taps in a low-pass filter