Parallel support for calcLogLik