Postgresql Creating Functions In Matlab