Pedigree analysis for Loki

Use
generations for calculation