Computing the quality factor of the filters
Fixing TODO