Tests for smoothing function.
Refactoring and test discretize_kernel.
Tests for __call__ of kernel.
Test summed_dist_matrix.