private double Mean(ArrayList shots, int index) { double temp = 0; foreach (Shot s in shots) temp += s.Mean(index); return temp / shots.Count; }