Ok. Just this `_sum_sq_diff` function ? And return the indices for smalled `ssd` ? I don't see the point of Cythonising `_inpaint_exemplar` given that the majority of the computation is spent in this function.