Complexity theory and financial regulation