Finalize whitening transform: improve documentation and fix TODOs (cf. #116)