Creating User Defined Functions In Matlab