結果 : least squares algorithm python