結果 : least square method in python