finished length of perimeter function, finish circularity function