Local linear trend estimation

Since the second issue I have encountered is different from the one mentioned in the original post I have reposted it here Estimation AR(2)-process/Joint prior distribution so that all the material related to AR(2) stability problems is in one place.