var.indx function

finds matching column names in data.frame