Added fairness metric to cost function