Least Squares Formula Linear Algebra