correct_names function

Function used to correct names in input data frames using by argument