Pedigree analysis for Chai

Use
generations for calculation