Some diag matrix conditions