added rbm pre-trainer