Corrected calculation of point on circumference.