move reshaping of data arrays into helper function
move reshaping of data arrays into helper function

hoechenberger/pylibnidaqmx,burnpanck/pylibnidaqmx,jkfindeisen/pylibnidaqmx,hoechenberger/pylibnidaqmx,jkfindeisen/pylibnidaqmx,burnpanck/pylibnidaqmx