Fix typo in arc calculation