Correction in the group_delay calculation