Derivatives of feed-forward neural networks and their application in real-time market risk management