Equation For Least Square Method