Flank computation and class assignment @TrainingDataGenerator, but not yet the other features