Least-square