extract_results_batch function

Extract results from a batch of trials from an object with multiple trials