Cinf runs for one second by default now, inf iters.

The infinite iterations is not quite true. Matlab truncates this to
9223372036854775807 iterations.
Cinf: check for inf iters, make into highest iter value.

Matlab does not like infinite iterations, and truncates to
9223372036854775807. Hence this function truncates to that value prior
to running the loop.