testNeuralNetwork now displays current cost