Implemented deep belief nets

- Implemented deep belief nets with pre-training as a stack of RBMs and fine-tuning using the wake-sleep algorithm
- Fixed some typos in CRBM