Fix the matrix inversion test to avoid floating point issues.

The current matrix inversion test fails in Chrome due to reliance on very particular floating point errors.

Best just to do the test with a matrix that has an inverse consisting of only integers.

This fixes #677