generates plink covar file from ped file