Update optimize.py

GUI and comand line had different default parameters FF. Now both options have the same parameters.