Measuring Segments Calculator