Pedigree analysis for Elf

Use
generations for calculation