Moved matlab/octave data type conversion functions to a separate file.