added parameter ploidy=2 to init method for PgmNetworkFactory; added self.genotypeCardinality variable (default is 10 which represents all possible 10 diploid genotypes