Added code to manipulate DCT coefficents.