Fix line integral calculator links.
Add optimization chapter.