Updating documentation of mex code