The current FIR filter length (while generating from TF) is done by taking 2*(circular shift) + (TF length). This works alright for most of the filters, but if the filter is really resonant it fails. Implement a better way to do this by perhaps defining both the ends of the filter where the magnitude falls below a threshold (as a fraction of the maximum magnitude of the filter ?).