add GMTtools.py from Zichen 's reusable_code