[MATLAB] Better handling of void function returns
[MATLAB] Resolved generation of 'ans' for wrapper functions
As discussed in the mailing list, the approach chosen was to check the number of return values
for each function overload and then enforce the generation of an 'ans' output in MATLAB whenever
all overloads are non-void