Added Matlab script