Working Hinton RBM on Cuda