Calculating total within Array

Calculating total within Array