implemented dct encoding and decoding; close #12
include the java doc for xyAxis