Closes #9 - breakout lpf into separate function
Merge pull request #15 from EvanSimpson/issue9

breakout lpf into separate function