more development of the contrastive divergence algorithm for RBMs