Gravar-mail: Predicting ventilator-induced lung injury using a lung injury cost function