Merge pull request #22 from bradgasser/master

deletions, child reaches less
Issue #23

Fixed for the main simulation
issue #23

Fixed for training files too
Merge pull request #2 from varshag/master

io error