Add C code using gemmBatched to SparseBlockDotOuterSS (the gradient).