Working on the GPU DBN implementation.