Catchplanckerror

finally worked on this changes by @rainwoodman,

@lpsinger  suggested to use `npy_set_floatstatus_invalid()`, how exactly?