dct: do not include n parameter in the name of a bunch of functions
Add first draft for IDCT
dct: fix permute matrix