omg huge commit ... just trying to pretrain deep networks via boltzmann machines, does not work