Pātuhitia tēnei: Bayesian filtering and smoothing