#chain rule in neural networks