added metrics to the back propagation learning algorithm to track stats