Updated DNASegment.mutate to convert the mask to an iterator before mutating