mask_surf function

Mask surface