Discrete recursive Bayesian filtering on intervals and the unit circle | Synapse