Add first matlab code.

Extract the data from .groundtruth and .test files.