* Updated some tests
* Updated first part of the Smith Form algorithm