Implemented DCT method
Added Javadoc comments
Update to latest