make CRBM as a subclass of RBM