model.select function

selects a latent class model for pedigree data