Full discrete cosine transform program, partially commented.