simulate_data_conditional function

Simulate data which satisfies certain conditions