Reduces an array to an accumulated value by applying a LAMBDA to each value and returning the total value in the accumulator