DCT function

Two Dimensional Discrete Cosine Transformation and Inverse Cosine Transformation