Is this the correct way to convert genotype matrix to GRM?