WIP commit for TestRestrictedBoltzmannMachineOptimizer cont