Added comments to Linesearch and made minimize smarter about how it evaluates