Outlined function for 'Circumference'