getKernel function

Method to get the semi-Markov kernel qq