Update arc.js

Add functions to calculate bounding box of arc and bezier