add new vector macros, rename old, refine two rtgeom routines