Adding matlab interface