Moved the DCT operations into de block_matrix class