diagonalize {{0,2,0},{-1,0,0},{3,2,1}}