A Deterministic Approach to Earthquake Prediction