gaussian bernoulli rbm debugged