See #7: Matrix determinant calculation.