use fullfile to generate paths
Merge pull request #8 from eendebakpt/master

use fullfile to generate paths