The Virial Treatment of Gas Molecules with Solid Surfaces