Update validationCurve.m