add new training algorithms rbm_newCD.m