Change 2D DCT from using transpose to two seperate 1DDCT functions
Merged DCT with IDCT(using two 1DDCT functions)