updated mean and standardDev for frequency array and write out mean and +/- 3 sigma