C extension to python with basic nfft functions.