Handle transferring Inf and NaN from MATLAB
In the long term, we'll need to support transferring Inf and NaN from MATLAB to Mathematica.
At the moment these quantities show up as Inf`` and Nan`` in Mathematica and they are unusable (their behaviour is unpredictable even under simple operations such as ==).
Example of a function that typically generate useful Inf values: voronoin.
I think this can wait until the next big release though.
Notes: Because of the unreliability of Inf`` and NaN`` in Mathematica, this will need to be implemented on the C++ side. Arrays should be scanned for these values, and their indices transferred separately.
Update: To keep things usage-driven, it needs to be mentioned that the Inf returned by voronoin is not particularly useful.