sparse matrix demo edits
update sparse matrix demo