getZ function

To get SNA genotyping matrix ZZ