Code for fitting AR(1) models to unevenly sampled series.