An intermolecular potential for methane