Updated code to fit new low pass filter