metric is a system used to measure