NULL -> nullptr
Set symmetry variable when constructing a SparseMatrix from cholmod_sparse
Added build sparse matrix test.