genSynthetic function

Generate synthetic data