Backpropagation implemented