Self With Functions In Matlab