Proof of concept for sparse matrix