Added Heun to example. Added solution to Newton's equation (this version is linear programming matlab-style, to be changed).