Poly. expansion, whitening and basis recovery implemented