Work on rudimentary sparse matrix