Update whiten.py

too many warnings...