CalculationOfInbreedingAndRelationship