Added first pass at rbm and dbn code