Fixed a bug where SparseShape could have a non-zero value for a zero tile as a result of scaling in gemm.