a bit of work on libvec