Update validationCurve.m

delete the unused lines