Add dot product to BaseVector