The terror of the unforeseen is what the science of history hides, turning a disaster into an epic.