How to find the center of an arc