Merge pull request #77 from AlexanderFabisch/master

Fix RBM backprop.