He had also been one of the few people receptive to the work of John Herapath on the kinetic theory of gases . He had also been one of the few people receptive to the neglected work of John Herapath on the kinetic theory of gases .