Pedigree analysis for Gibbs

Use
generations for calculation