Simplify forward propagation.
Initialize RBM gradient with correct sign.
Remove check.