Backport reworked filters from Math.NET Numerics filtering branch #1