added lowest + average

Unable to get var amount = Number(expenditures.amount) to replicate
through each loop, and have to add var amount = expenditures[i].amount
to each loop individually