Sparse matrix dot product.