NN improvements.

All. Weights updating correctly. No NaN outputs. Epochs working.