Added arcpath function to generate points in an arc