More complex mask

Updated mask to exclude records between zero upcrossings, which shouldn't create any period artifacts which may occur with the previous simpler mask