neural network save per pass bug fix
Merge pull request #103 from pmineiro/nnsavebugfix

neural network save per pass bug fix