Improve vector by uniformizing the interface

addresses issue #11