Fixed a bug in mint_set_weight for sparse matrices
Updated wop.c functions to the newer version of mint_weights_set_row
(requiring state variable). Allowed diagonal op to work on non-recurrent
matrices, provided they conncet node groups of the same size.