Automatically generated loop unrolling functions
Implement loop unrolling for uncommon number of channels
Simpler function calling in threads
Cleanup