Added Grid class and plot of T_avg(z).