Kernel sum vector and bugfixes