added bernoulli-bernoulli rbm; refactored mlp code
Merge pull request #1 from mephistopheies/rbm

added bernoulli-bernoulli rbm; refactored mlp code