adds problem statement to SparseMatrix