finished first version of pre_train_dbn wrapper