Pedigree analysis for Nix

Use
generations for calculation