Remove the hard coded filter coefficients
Some coding style improvements