Bugfix for Smith matrix form.
Add Jordan matrix form.