Refactored for multithreading
Added factor and bias to LinearFilter