Accumulates value starting with initial value and applying operation current accumulator value and each element