Create trainingscript.m