Update functions documentation to conform to Matlab standard