Updated exception messages in SparseMatrix