Pedigree analysis for Cosmo

Use
generations for calculation