Updated generalized SpMV code and MIS computation