work-in-progress contrastive divergence