update to handle mxINT8_CLASS type data as a charTensor