Algorithm for summing calories does not work. Just committing this to save the unworking algorithm for reference
Apparently I made this change and didn't commit. Looks like I was testing some new ways of storing the array. Committing for now.