Automating Loss Management in a Global Bank