Calculation time with default settings 478s, suspicion file access when running the model slowing calculation time read file data in main and feed to the model.
Calculation time with default settings 43s, after only reading data once in main fail and copying the vector for each model instance, ram usage significantly increased however.
Calculation time with default settings 6s, after removing DIY multithreading code and replacing with Rayon implementation: Memory usage significantly decreased and CPU utilization peaks at 100%