- add builder to RBM and gradient descent. 
- add momentum to gradient descent