Systemic risk modeling gets a mathematical upgrade.