finish crbm
fixed a bug
create class cdbn