You need to know what the functions Ce(ē), Pj(t), Ci(ē), and Qj(t) are. Would they be local to your ‘CortexColumnJ’ function file or external to it? Do those functions have any external dependencies of their own?
The rest of it would be relatively straightforward to code.