extend dot() to work with vectors