ENH: Added binary mask input to grid3d

This is one mechanism by which pixels can be masked before
the gridding routine runs.