Add index name 'vars' to results data frame.

Makes the code cleaner and the results data frame a little more informative.