Pedigree analysis for Tex

Use
generations for calculation