ctLongToWide Restructures time series / panel data from long format to wide format for ctsem analysis