Selection and culling of livestock