Financial Regulation in a Quantitative Model of the Modern Banking System