EA_MODEL Modified track condition handling to account for train length and renamed Kernel.TrainData.TrainData to Kernel.TrainData.TrainDataStruct