Adds array sum, exponentiation