calcExpKernel function

Calculate Exponential Stochastic Matrix