generateData function

Generates data from a linear Gaussian state space model