
        Convert a reduce() call to a parfor.
        The call arguments should be (func, array, init_value).
        r