Moment tensor inversion of complex earthquakes