Added a simple group delay computation function.