Fixed a memory layout issue that slowed down computations using normalized kernels.