Modify filter when inputs change
Also renamed interpolators and moved some calculations out of inner loop.