sumArray