Refactor struct ckernel so it can be used to apply an arrfunc per field