Stochastic DCT implementation in CUDA