Source: http://jeanalain.monfort.free.fr/Dicostat2005/M/Methode_des_moindres_carres_ordinaires.pdf