added tf mask support for putting masks on the data to remove bad data