Added a low pass filter. Currently untestd