Fixed #25, issue for older Matlab versions.
Fixed #26 - error with the Windows' backslash in sprintf.
Fixed the paths for Windows. Slash replaced with fullfile call.