simulate function

Simulate realizations of a fitted model.