Issue #3: Cleaned-up kernel function printing of the CPU code generator a bit and simplified the interface