New method predicts earthquakes with 80 percent accuracy