Data directory

Properly handle a data directory different from the output file and
having a main LaTeX file that sits at another location.

dataPath: path (rel. to MATLAB pwd) of the data directory
relativeDataPath: path (rel. to main LaTeX file) of the data directory
Merge branch 'external-files'