Creating of training data. Masking now after distortion for the training examples