DCT testing and added a new implementation