Refactored mopad script.

Now adheres to PEP8. Also removed unused code parts and commented code.
Furthermore restructured the imports slightly and replaces some
expressions.

Tests still pass and I also tested it with lots of other moment tensors
which also look ok.