minor changes and additions in nnet and run_exp