Change template
Least squares