The development of the kinetic theory of gases IV. Maxwell