NeuralNetwork bugfixes and testing- still has some AssertionError