Added sampling from RBM