Shrink mask wrt to a kernel
the mask to be shrinked by…
… the corresponding array
the corresponding shrunk mask
Notes
The kernel sum must be normalized
shrink_mask()