Sum scores for each individual. Allows arbitrary number of scores to be calculated using single function call.
the data which contains the variables to be summed over.
the names of the variables to be summed over.
returns scores summed over the given variables.