Optimal Detection of Changepoints With a Linear Computational Cost | Synapse