fixed rbm compute outputh method; added elasticnet regularization