I define the kernel as K(x_i, x_j) = exp( -1/A * D(x_i, x_j)), where A is a scaling parameter I can choose, and D(x_i, x_j) is the chi-squared distance between them.