initial checkin: this is translation of Java Project:
https://github.com/tjake/rbm-dbn-MNIST