calculateArc() is now a private for function for creating arcs, also added arc-tests.js. did not fix handles bug