Ensemble averaging