AK_d is under LGPLv3+, and not v2.1 only. Luis copied-pasted from files with that license by error.
The obsolete and unused code was removed. The interface was cleaned. The memory leaks dissapeared (according to valgrind), because the pointers to RS memory were removed. For test purposes, the rational interface is not tested.