How to Calculate Earthquake Magnitude on Richter Scale