Approximate AR(1) process, might be some bugs