Predictions of the Knock Onset and the Effects of Heat Release Pattern and Unburned Gas Temperature on Torque at Knock Limit in S.I. Engines