Update NeuralNetworks.groovy

Back-propagated error to adjust weights, one iteration.