Update optimize.rst

Add a note to tutorial that defining a Jacobian is not strictly necessary.