update DCT function
Merge branch 'master' of https://github.com/DenniJensen/BachelorThesis