add shift-and-invert mode for symmetric matrices