learning the whitening