Fix a bug in arc_to when using certain angles. Continue to clean up example code.