data.gen.tar2 function

Generate predictor and response data from TAR2 model.