Add dotproduct with sparse vectors