BUG: output was empty if the user tried to use the mask - fixed.
checknan disabled for pointdata and celldata other than tensors - to be fixed.
BUG: Masking function output was an empty file.
Conflict between masking and cropping solved.