Added determinant() and test.