Enabled transfer of nX and nXi
improved the data conversion
Corrected the order of nX and nC