Sympify SparseMatrix

Converts to ImmutableSparseMatrix now. Fix for #8283.