derive_vars_transposed function

Derive Variables by Transposing and Merging a Second Dataset