modified DCT code, still implementing watermark