Training bugs fixed

- new option in crbm_cfg
- bug fix in crbm_learn_sampling