Added ability to filtering with different types of fir-filters.