Calculate fitness values in parallel with multiple threads.