Fixed lua detection
added FFDiag AJD algorithm and a unit test.
rational approximation unit-test added
Merge pull request #1212 from lambday/feature/log_determinant

rational approximation unit-test added
Merge pull request #1211 from pickle27/develop

added FFDiag AJD algorithm and a unit test.