Statistical computation with kernels