set up function calcCircumference