Adding sparse matrix example and support code