added newly acquired knowledge about customized .combine functions in foreach in groupPCA