Compute average of course value