The Mathematics of Natural Catastrophes