Fix contour.pyx to not segfault.

import_array() needed to initialize numpy C api