Add linear least squares approximation.