Removed the post processing step from partial reduce.
SparseShape::gemm now produces the correct results.
Added a unit test for SparseShape::gemm.