dft errors fixed, all filters now work as expected

You won't believe what the problem was.

Here's a script to illustrate it.
https://gist.github.com/vighneshbirodkar/6345891

The diff for applyDFT was 4.1, it has come down to 0.44

The tests show 1 error and 2 failures
I can see the light.