New submission

I used ``scipy.optimize``.