Multinomial working.
Seems pretty troublesome to integrate.
update variables need to propagate up.
Merge branch 'master' of github.com:shawntan/python-rbm-dbn