Source: http://tourneret.perso.enseeiht.fr/SignalProcessing/correctionTSApril2006.pdf