Changed some dce/dct plus little corrections