interval.centers function

calcula centros