Worst-case and Smoothed Analysis of the ICP Algorithm, with an Application to the k-means Method | Synapse