To get rid of a large number of dependencies and make it easier to maintain and extend the kernel function, I've reimplemented the kernel in R. As expected, it is slower than the original C-igraph implementation. Unfortunately it is a lot slower. We're going to have to make the parallel library a prerequisite and use mclapply as much as possible. See test.speciation.model.
See also #142 and #143