apply_kernel function

Apply a kernel implied in an emc object