misc fixes to nips2011_nnet
initial untested commit of nips2011_dbn