Pedigree analysis for Petro

Use
generations for calculation