simulate function

Simulate Capture Histories