Measuring and Predicting Earthquakes