Revert "Remove unneeded RHS return values"

This reverts commit db2381808243071fa0948011f112f95c209bee45.
Fix copy bug in SparseMatrix