Added new plotting function for kernels