Adding quiet flag to run N trials, suppress output and return average values