Made basic vector math functions accessible to the whole module
simplified do_arc routine
First implementation of bulge support in LWPOLYLINE