Updated mex helpers hook; Updated documentation