Fixed a number of issues, most of which revolved around an incorrect computation of Mw from Mo in gcmt