Fixed code

Was accidently grabbing meanFreq as a mean.  Added code to stop
selection of meanFreq