move mat mul after dct