Blending and masking

blend(M, N) Returns a blend of same-size matrices M and N (pixelwise sum - [product/255]).

mask(M, N) Returns matrix M masked by same-size matrix N - set to zero where N is zero, otherwise remains the same.

Arguments: