David Terran wrote scientific theories predicting an inevitable shift in Earth’s magnetic poles. Then an Iranian underground nuclear test sets off a g…