Implementation of a multi-layer backpropagating neural network algorithm trained with the generalized delta learning rule