Detection of estrum and preparing the animal for AI