Added separate kernel that calculates normals from gradient.