Improved path management and data file load

Improvement in matlab path management and threshold, sequence and data
file load.