add a matlab interface of the package