got elliptical arcs working, mostly