FIX: Updated imports and IPython 2+ compatability
ENH: Introduced NumPy portable C functions