The Detection and Quantification of Knock in Spark Ignition Engines