Method path3d: now passing the mask of masked arrays through instead of doing the filtering within the method. This leaves more choice to the users, who now need to mask the data themselves using MaskData or manually.