Estadísticas de Lie groupoids and algebroids applied to the study of uniformity and homogeneity of material bodies