update to neural net & main

fixed some neural net bugs, still getting a bug where the number of
outputs in the net is greater than the inputted amount through
params.dat