Replace MPEG group reference DCT implementation by newly rewritten version.