QR分解を用いる最小二乗法
least square method using QR decomposition