Revert revert custom filter.

Unable to make sinc() function work as suggested by book, using window function alone.