Script for creating mean and stdev tables from random function data