added parameter support for rbm / grbm learning from corrupted data