Added dct and idct

l1-ls test problem translated to python.