Hi @David_Tschumperle . I was able to verify a bunch of things. Need to verify them again with you 
- Smoothed Normal is computed only by looking whether the pixels are part of the unfilled mask or not
- The tensor is weighted meaned across all channels. Over here, do you include the 4th channel which is the opacity or only the 3 color channels ?