make rbm-test compile with training. still, doesnt run...