changing free_energy to private in RBM
added neural_network to setup