Is the Richter scale linear or logarithmic?