Magnitude calculator earthquake