Contributed code for MAF (sims_maf)