modified sumstats_to_chisq, changes to parse and sumstats to increase merge speed