Added dependecy to inbreeding calculation