add SML (PCD) and CD-k for RBMs