The Invention of the Counterweight Trebuchet: A Study in Cultural Diffusion