Normal Equations for Least Squares