My mean med mode assignemnt. Late and forgotten.

Nice conversion, you might want to try numArray.push rather than numArray[count]