Corrects a signal for the group delay of an FIR filter.

fix_grpdelay(x, n, grp_delay)