Parallel processing for iiw training data generation, not fully tested...