Added circumference equation within function.