Feedback control of engine parameters