Code now uses namedtuples to get OCL kernel and C generated code for increased readability. All tests now pass.