Turns out the values were already in radians, so the conversion caused an error. Also made the pretty printing of the DCT values better.