fix for SparseRowMatrix innerProduct