Wrote up details of all at once smoothing for the latent states