matrix datatype in c and python ctypes interface