A methodology for daily analysis of AMS data providing herd characterisation and segmentation