Simulation tool for AR(1) process.