Fix: failure in AR model when rho is unset, under certain conditions, due to environment and scoping issues.