Minimal Polynomial from Jordan Form