deleted inverse_diag.m