* matrix: implemented inverse()
* Fixed signed/unsigned compare warnings.