modelTrain.m: fmincon() within try/catch block