Added roundness function.