Updated CNDA to support the new C API in Python 3.