added in time series for z terms

first attempt at MH steps to update z using a time series. Still needs
to be debugged