dataFormat function

Change the Format of Longitudinal Data to be Compatible with EBDBN