Lambda calculation added to the loop with the conversion of an analog value to a 0 to 5 voltage to return the lambda value.