Create kernFunctions.R