Update mlp.py

Introduced RBMLayer