IMPLEMENTING FAST DCTS