Updated transformation code based on István's comments
Created "real" derived features from the trace patterns