Tidy working Cython wrapper.

The Cython wrapper should replace the C-API and be submitted with the working tested version of aiaprep.