Fixed errors related to VCF statistics miscalculations, and GWAS memory management