Leave the original piechart vals alone you brute

Piechart values are now copied to a new array before any changes are made, so that the original ones are retained.