marking the coo_matrix entries as unsorted after setting the diagonal through hacking its internal arrays