[W, s, v] = svd((repmat(sum(x.*x, 1), size(x, 1), 1). *x)*x')
Convergence for theta0 and 1 at the same time.
The cost function for a linear algebra is always a convex function (bowl-shaped function). Thus, no local minimum. Always converges to a global minimum.
batch gardient descent: each step uses all training examples.