Google sheets formula for average kinetic energy