Whiten - a chaos purifier