Pedigree analysis for Agrid

Use
generations for calculation