RBM implementation added