MAINT: remove unnecessary c_math.pxd
MAINT: remove some unnecessary use of the Python C API in _pywt.pyx
MAINT: fix Cython compile warnings, and remove some commented out code.