Measure to find perimeter