Made wrapper function for evaluate kernel