Added DBN class to models/rbm.py