Added all the previous work done in building RBMs