Ex-JP Morgan quant Patrick Hagan discusses his latest work and the risk failures that cost the bank $6 billion in 2012.