Create minimize.txt

Minimization function documentation