Adding Matlab interface