adding use of numpy.ctypeslib for numpy communication with c-api