After Earth's worst mass extinction, surviving ocean animals spread worldwide. Stanford's model shows why this happened.