Moved functions to Helpers.pm in gmt analysis/snparray

code-deduplication: dmorton