Improved Arc drawing function