factorized kernel into tanh and convolve