More NULL checks
Document spmv.h