simvar function

Simulate observations from a vector