Summarises the covariateData to calculate the mean and standard deviation per covariate
if the labels are given it also stratifies this by class label and if the trainRowIds and testRowIds
specifying the patients in the train/test sets respectively are input, these values are also stratified
by train and test set