Calculates the principal axes of a given moment tensor.
Adapted from ps_tensor / utilmeca.c / Generic Mapping Tools (GMT).
Enter search terms or a module, class or function name.