add commented out sympy code to check jordan blocks