STEP 5. calculated average of each variable for each activity and each subject