quick numpy ctypes