A Comprehensive Knock Model for Application in Gas Engines