結果 : least square fitting python code