For each subject-activity pair, calculate the mean of the other columns